package net.sureon.web.admin;

import java.util.Date;
import java.util.List;

public class UserForm {
	private long userID;
	private long groupID;
	private String userName;
	private String password;
	private String realName;
	private String title;
	private String department;
	private String fax;
	private String officeTel;
	private String mobileTel;
	private String email;
	private Date registerDate;
	private String role;
	private String status;
	private long departmentGroupID;
	private List groupList;
	private List roleList;

	/**
	 * @return the userID
	 */
	public long getUserID() {
		return userID;
	}

	/**
	 * @param userID
	 *            the userID to set
	 */
	public void setUserID(long userID) {
		this.userID = userID;
	}

	/**
	 * @return the groupID
	 */
	public long getGroupID() {
		return groupID;
	}

	/**
	 * @param groupID
	 *            the groupID to set
	 */
	public void setGroupID(long groupID) {
		this.groupID = groupID;
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName
	 *            the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the realName
	 */
	public String getRealName() {
		return realName;
	}

	/**
	 * @param realName
	 *            the realName to set
	 */
	public void setRealName(String realName) {
		this.realName = realName;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title
	 *            the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the department
	 */
	public String getDepartment() {
		return department;
	}

	/**
	 * @param department
	 *            the department to set
	 */
	public void setDepartment(String department) {
		this.department = department;
	}

	/**
	 * @return the fax
	 */
	public String getFax() {
		return fax;
	}

	/**
	 * @param fax
	 *            the fax to set
	 */
	public void setFax(String fax) {
		this.fax = fax;
	}

	/**
	 * @return the officeTel
	 */
	public String getOfficeTel() {
		return officeTel;
	}

	/**
	 * @param officeTel
	 *            the officeTel to set
	 */
	public void setOfficeTel(String officeTel) {
		this.officeTel = officeTel;
	}

	/**
	 * @return the mobileTel
	 */
	public String getMobileTel() {
		return mobileTel;
	}

	/**
	 * @param mobileTel
	 *            the mobileTel to set
	 */
	public void setMobileTel(String mobileTel) {
		this.mobileTel = mobileTel;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email
	 *            the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return the registerDate
	 */
	public Date getRegisterDate() {
		return registerDate;
	}

	/**
	 * @param registerDate
	 *            the registerDate to set
	 */
	public void setRegisterDate(Date registerDate) {
		this.registerDate = registerDate;
	}

	/**
	 * @return the role
	 */
	public String getRole() {
		return role;
	}

	/**
	 * @param role
	 *            the role to set
	 */
	public void setRole(String role) {
		this.role = role;
	}

	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * @param status
	 *            the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}

	/**
	 * @return the departmentGroupID
	 */
	public long getDepartmentGroupID() {
		return departmentGroupID;
	}

	/**
	 * @param departmentGroupID
	 *            the departmentGroupID to set
	 */
	public void setDepartmentGroupID(long departmentGroupID) {
		this.departmentGroupID = departmentGroupID;
	}

	/**
	 * @return the groupList
	 */
	public List getGroupList() {
		return groupList;
	}

	/**
	 * @param groupList
	 *            the groupList to set
	 */
	public void setGroupList(List groupList) {
		this.groupList = groupList;
	}

	/**
	 * @return the roleList
	 */
	public List getRoleList() {
		return roleList;
	}

	/**
	 * @param roleList
	 *            the roleList to set
	 */
	public void setRoleList(List roleList) {
		this.roleList = roleList;
	}

	public void reset() {
		userID = 0;
		groupID = 0;
		userName = null;
		password = null;
		realName = null;
		title = null;
		department = null;
		fax = null;
		officeTel = null;
		mobileTel = null;
		email = null;
		registerDate = null;
		role = null;
		status = null;
		departmentGroupID = 0;
	}

}
